//
//  ExhibitionProfileModel.m
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/28.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "ExhibitionProfileModel.h"
#import "XXTool.h"

@implementation ShowTopImgModel

@end

@implementation ExhibitionProfileShowTitleModel

+ (NSDictionary *)mj_objectClassInArray
{
    return @{
             @"photo_arr" : @"ShowTopImgModel",
             };
}

@end

@implementation ExhibitionProfileModel

+(void)getExhibitionProfileWithCompletion:(void (^)(ExhibitionProfileModel *))block
{
    [DKHTTPRequest sendDataWithShortUrl:@"modellist"
                                  Param:[XXTool formatStringWithLanguage:@""]
                             ImageArray:nil
                                TimeOut:10
                             Completion:^BOOL(NSMutableDictionary *serverDic, DKHTTPResponseType bufferType) {
                                 ExhibitionProfileModel *temp = [ExhibitionProfileModel mj_objectWithKeyValues:serverDic];
                                 if (temp.code==200)
                                 {
                                     block(temp);
                                 }
                                 else
                                 {
                                     block(nil);
                                 }
                                 return YES;
                             } IsBuffering:YES IsNeedReplaceWrap:NO IsUseUpLoadHead:NO];
}


+ (NSDictionary *)mj_objectClassInArray
{
    return @{
             @"list" : @"ExhibitionProfileShowTitleModel",
             };
}

@end
